package cn.dcw.pethome.user.mapper;

import cn.dcw.pethome.basic.mapper.BaseMapper;
import cn.dcw.pethome.user.dto.LoginDto;
import cn.dcw.pethome.user.domain.LoginInfo;

/*
登入对象
 */
public interface LoginInfoMapper extends BaseMapper<LoginInfo>{

    //通过用户名和type查找对象
    LoginInfo findByUserNameType(LoginDto loginDto);

    LoginInfo findByUserId(Long user_id);
}
